
package listener;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

import com.e885.log.E885Logger;

/**
 * @author Eric.Kao(gau168.gau@msa.hinet.net)
 * @version 1.0
 * @company E885 Group
 * @copyright Copyright (c) 2001-2008
 */

public class MyApplicationListener implements ApplicationListener
{
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.springframework.context.ApplicationListener#onApplicationEvent(org.springframework.context.ApplicationEvent)
	 */
	public void onApplicationEvent( ApplicationEvent event )
	{
		if( event instanceof MyApplicationEvent )
			E885Logger.testLog.debug( "=== This is a MyApplicationEvent event ===" );
	}

}
